// 引入unocss css
import '@/plugins/unocss'

// 导入全局的svg图标
import '@/plugins/svgIcon'

// 初始化多语言
import { setupI18n } from '@/plugins/vueI18n'

// 引入状态管理
import { setupStore } from '@/store'

import { createApp } from 'vue'

import App from './App.vue'
import router from './router'

const setupAll = async () => {

    const app = createApp(App)
    await setupI18n(app)
    setupStore(app)
    app.use(router)
    app.mount('#app')
}

setupAll()


